package gphoto.dao;

import gphoto.bo.repertoire.EmplacementATrier;
import gphoto.bo.repertoire.EmplacementTrier;

import java.sql.SQLException;
import java.util.List;

public interface EmplacementDAO {

	public void viderCache();
	public void chargerCache();
	public void reChargerCache();
	
	public EmplacementATrier getEmplacementATrierPrinc() throws SQLException;
	
	public EmplacementATrier getEmplacementATrier(int id) throws SQLException;
	
	public List<EmplacementATrier> getAllEmplacementsATrier() throws SQLException;
	
	public List<EmplacementATrier> getAllEmplacementsATrierDispo() throws SQLException;
	
	
	public EmplacementTrier getEmplacementTrierPrinc() throws SQLException;
	
	public EmplacementTrier getEmplacementTrier(int id) throws SQLException;
	
	public List<EmplacementTrier> getAllEmplacementsTrier() throws SQLException;
	
	public List<EmplacementTrier> getAllEmplacementsTrierDispo() throws SQLException;
	
	public void controlerChemins() throws Exception;
}
